﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 界面
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            OpenFileDialog op = new OpenFileDialog();
            op.Title = "请选择你要打开的文件哟~~~~";
            op.Multiselect = true;
            op.InitialDirectory = @"C:\Users\SpringRain\Desktop";
            op.Filter = "文本文件|*.txt|媒体文件|*.wmv|图片文件|*.jpg|所有文件|*.*";
            op.ShowDialog();
            Form2 s = new Form2();
            s.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            OpenFileDialog op = new OpenFileDialog();
            op.Title = "请选择你要打开的解压文件噢";
            op.Multiselect = true;
            op.InitialDirectory = @"C:\Users\SpringRain\Desktop";
            op.Filter = "文本文件|*.txt|媒体文件|*.wmv|图片文件|*.jpg|所有文件|*.*";
            op.ShowDialog();
            Form2 f = new Form2();
            f.Show();
        }
    }
}
